package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.Merchant;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MerchantMapper {
    Merchant getByPhone(String userAccount);

    int addMerchat(Merchant merchant);

    int updateMerchat(Merchant merchant);

    Merchant getByOpenid(String openId);

    Merchant getById(Long id);

    List<Merchant> selectByList();

    int clearWxNumerById(Long id);

}
